package com.example.discover.dao

import androidx.room.Dao
import androidx.room.Query
import com.example.discover.model.Subject
import com.example.featuresdk.dao.BasicDao
import kotlinx.coroutines.flow.Flow

@Dao
interface SubjectDao: BasicDao<Subject> {

    @Query("select * from subject")
    fun getAll(): Flow<List<Subject>>
}